import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/venue',
    name: 'venue',
    component: Layout,
    redirect: '/venue/table',
    meta: { title: { zh_CN: '场馆管理', en_US: 'User Center' }, icon: 'building-4' },
    children: [
      {
        path: 'create',
        name: 'VenueCreate',
        component: () => import('@/pages/venue/create/index.vue'),
        meta: { title: { zh_CN: '创建场馆', en_US: 'Venue Center' } },
        hide: true,
      },
      {
        path: 'table',
        name: 'VenueTable',
        component: () => import('@/pages/venue/table/index.vue'),
        meta: { title: { zh_CN: '场馆列表', en_US: 'venue Center' } },
      },

      {
        path: 'update',
        name: 'VenueUpdate',
        component: () => import('@/pages/venue/update/index.vue'),
        meta: { title: { zh_CN: '编辑场馆', en_US: 'User Edit' } },
        hide: true,
      },
    ],
  },
];
